package com.dashu.authority.servie;

import java.util.List;
import java.util.Map;

import com.dashu.authority.entity.Menu;
import com.dashu.authority.exception.AuthorityException;

public interface MenuService extends BaseService< Menu> {
	public List<Menu> queryAllByExample(Menu entity,int pageNum, int pageSize) throws AuthorityException;		
	public Map<String, Object> insertEntity(Menu entity)throws AuthorityException;	
	public Map<String, Object> updateEntity(Menu entity)throws AuthorityException;	
	public Map<String, Object> deleteByIds(Integer[] ids) throws AuthorityException;
	public Map<String, Object> updateStatus(Integer[] ids,String status) throws AuthorityException;
	
	public List<Menu> queryIdNotSamePId(Menu entity,int pageNum, int pageSize) throws AuthorityException;	
	
	public List<Menu>  queryMenuTreeList(Map<Object,Object> params)throws AuthorityException;	
}
